cmake_minimum_required(VERSION 3.12)
project(BMPreader)
set(CMAKE_CXX_STANDARD 11)

if(MSVC)
    add_compile_options(/utf-8)
endif()
    

# 设置C++标准
set(CMAKE_CXX_STANDARD 14)

# 添加源文件
set(SOURCES
    main.cpp
    include/hexreader/hexreader.cpp
    include/BMP/BMP.cpp
)

# 生成可执行文件
add_executable(BMPreader ${SOURCES})